package com.atguigu;

import com.atguigu.spzx.common.exception.GuiguExceptionHandler;
import com.atguigu.spzx.common.log.annotation.EnableLogAspect;
import com.atguigu.spzx.manager.config.Knife4jConfig;
import com.atguigu.spzx.manager.properties.MinioProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author syh
 * @create 2023-08-12 16:44
 */
@SpringBootApplication
@EnableScheduling
@EnableLogAspect
@Import({GuiguExceptionHandler.class, Knife4jConfig.class})
@EnableConfigurationProperties(value = MinioProperties.class)
public class ManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class , args) ;
    }

}
